export const stylesV8 = [
  {
    id: 'navigation-yellow',
    label: '淡黄行政',
    url: 'mapbox://styles/snsqss/ckyb8af065j9815l85984y8vq',
    src: require('@/assets/images/淡黄行政.png')
  },
  {
    id: 'navigation-gray',
    label: '浅灰行政',
    url: 'mapbox://styles/snsqss/ckybauyeb7r3h14p8kuwkhl5i',
    src: require('@/assets/images/浅灰行政.png')
  },
  {
    id: 'navigation-black',
    label: '暗黑行政',
    url: 'mapbox://styles/snsqss/ckybak5jb74t915lqaucevtit',
    src: require('@/assets/images/暗黑行政.png')
  },
  {
    id: 'navigation-blue',
    label: '浅蓝行政',
    url: 'mapbox://styles/snsqss/ckybb77bd2fh314o12xcwas1u',
    src: require('@/assets/images/浅蓝行政.png')
  },
  {
    id: 'navigation-traffic',
    label: '浅色交通',
    url: 'mapbox://styles/snsqss/ckyb9lnk76rsq14o925053yzs',
    src: require('@/assets/images/浅色交通.png')
  },
  {
    id: 'navigation-outdoor',
    label: '简洁户外',
    url: 'mapbox://styles/snsqss/ckybab0785mqg14odinj13348',
    src: require('@/assets/images/简洁户外.png')
  },
  {
    id: 'navigation-satellite',
    label: '简洁卫星',
    url: 'mapbox://styles/snsqss/ckyba1cb42sfn14p92sgj0nn8',
    src: require('@/assets/images/简洁卫星.png')
  },
  {
    id: 'navigation-day-v1',
    label: '深色交通',
    url: 'mapbox://styles/snsqss/ckyyi3zqm002g15mkwqi4c4mk',
    src: require('@/assets/images/深色交通.png')
  },
  {
    id: 'gd-road-simple',
    label: '高德道路简图',
    url: '@/assets/styles/GaoDeRoadSimple.json',
    src: require('@/assets/images/高德道路简图.png')
  }
];

export const airQualityLeves = ['优', '良', '轻度污染', '中度污染', '重度污染', '严重污染'];

export const airQualityColors = {
  优: 'rgb(0, 228, 0)',
  良: 'rgb(255, 255, 0)',
  轻度污染: 'rgb(255, 126, 0)',
  中度污染: 'rgb(255, 0, 0)',
  重度污染: 'rgb(153, 0, 76)',
  严重污染: 'rgb(126, 0, 35)'
};

export const airQualityLevesByHourOrDay = {
  时: {
    aqi: airQualityLeves,
    pm25: airQualityLeves,
    pm10: airQualityLeves,
    so2: [...airQualityLeves].slice(0, 4),
    no2: airQualityLeves,
    co: airQualityLeves,
    o3: airQualityLeves,
  },
  日: {
    aqi: airQualityLeves,
    pm25: airQualityLeves,
    pm10: airQualityLeves,
    so2: airQualityLeves,
    no2: airQualityLeves,
    co: airQualityLeves,
    o3_8h: airQualityLeves,
  }
};

export const airQualityValuesByHourOrDay = {
  时: {
    aqi: [50, 100, 150, 200, 300],
    pm25: [35, 75, 115, 150, 250],
    pm10: [50, 150, 250, 350, 420],
    so2: [150, 500, 650, 800],
    no2: [100, 200, 700, 1200, 2340],
    co: [5, 10, 35, 60, 90],
    o3: [160, 200, 300, 400, 800],
  },
  日: {
    aqi: [50, 100, 150, 200, 300],
    pm25: [35, 75, 115, 150, 250],
    pm10: [50, 150, 250, 350, 420],
    so2: [50, 150, 475, 800, 1600],
    no2: [40, 80, 180, 280, 565],
    co: [2, 4, 35, 14, 24, 36],
    o3_8h: [100, 160, 215, 265, 800],
  }
}

export const monitorText = {
  aqi: 'AQI',
  so2: 'SO₂',
  pm25: 'PM₂.₅',
  pm10: 'PM₁₀',
  no2: 'NO₂',
  o3: 'O₃',
  o3_8h: 'O₃_8h',
  no: 'NO',
  co: 'CO'
};

export const geoCoordCnter = {
  '广州市': [113.280637, 23.125178],
  '韶关市': [113.591544, 24.801322],
  '深圳市': [114.085947, 22.547],
  '珠海市': [113.553986, 22.224979],
  '汕头市': [116.708463, 23.37102],
  '佛山市': [113.122717, 23.028762],
  '江门市': [113.094942, 22.590431],
  '湛江市': [110.364977, 21.274898],
  '茂名市': [110.919229, 21.659751],
  '肇庆市': [112.472529, 23.051546],
  '惠州市': [114.412599, 23.079404],
  '梅州市': [116.117582, 24.299112],
  '汕尾市': [115.364238, 22.774485],
  '河源市': [114.697802, 23.746266],
  '阳江市': [111.975107, 21.859222],
  '清远市': [113.051227, 23.685022],
  '东莞市': [113.746262, 23.046237],
  '中山市': [113.382391, 22.521113],
  '潮州市': [116.632301, 23.661701],
  '揭阳市': [116.355733, 23.543778],
  '云浮市': [112.044439, 22.929801],
  '省外': [111.345, 25.1]
};

export const industries = [
  {
    label: "农、林、牧、渔专业及辅助性活动",
    value: "农、林、牧、渔专业及辅助性活动",
  },
  { label: "煤炭开采和洗选业", value: "煤炭开采和洗选业" },
  { label: "石油和天然气开采业", value: "石油和天然气开采业" },
  { label: "黑色金属矿采选业", value: "黑色金属矿采选业" },
  { label: "有色金属矿采选业", value: "有色金属矿采选业" },
  { label: "非金属矿采选业", value: "非金属矿采选业" },
  { label: "开采专业及辅助性活动", value: "开采专业及辅助性活动" },
  { label: "其他采矿业", value: "其他采矿业" },
  { label: "农副食品加工业", value: "农副食品加工业" },
  { label: "食品制造业", value: "食品制造业" },
  { label: "酒、饮料和精制茶制造业", value: "酒、饮料和精制茶制造业" },
  { label: "烟草制品业", value: "烟草制品业" },
  { label: "纺织业", value: "纺织业" },
  { label: "纺织服装、服饰业", value: "纺织服装、服饰业" },
  {
    label: "皮革、毛皮、羽毛及其制品和制鞋业",
    value: "皮革、毛皮、羽毛及其制品和制鞋业",
  },
  {
    label: "木材加工和木、竹、藤、棕、草制品业",
    value: "木材加工和木、竹、藤、棕、草制品业",
  },
  { label: "家具制造业", value: "家具制造业" },
  { label: "造纸和纸制品业", value: "造纸和纸制品业" },
  { label: "印刷和记录媒介复制业", value: "印刷和记录媒介复制业" },
  {
    label: "文教、工美、体育和娱乐用品制造业",
    value: "文教、工美、体育和娱乐用品制造业",
  },
  {
    label: "石油、煤炭及其他燃料加工业",
    value: "石油、煤炭及其他燃料加工业",
  },
  { label: "化学原料和化学制品制造业", value: "化学原料和化学制品制造业" },
  { label: "医药制造业", value: "医药制造业" },
  { label: "化学纤维制造业", value: "化学纤维制造业" },
  { label: "橡胶和塑料制品业", value: "橡胶和塑料制品业" },
  { label: "非金属矿物制品业", value: "非金属矿物制品业" },
  { label: "黑色金属冶炼和压延加工业", value: "黑色金属冶炼和压延加工业" },
  { label: "有色金属冶炼和压延加工业", value: "有色金属冶炼和压延加工业" },
  { label: "金属制品业", value: "金属制品业" },
  { label: "通用设备制造业", value: "通用设备制造业" },
  { label: "专用设备制造业", value: "专用设备制造业" },
  { label: "汽车制造业", value: "汽车制造业" },
  {
    label: "铁路、船舶、航空航天和其他运输设备制造业",
    value: "铁路、船舶、航空航天和其他运输设备制造业",
  },
  { label: "电气机械和器材制造业", value: "电气机械和器材制造业" },
  {
    label: "计算机、通信和其他电子设备制造业",
    value: "计算机、通信和其他电子设备制造业",
  },
  { label: "仪器仪表制造业", value: "仪器仪表制造业" },
  { label: "其他制造业", value: "其他制造业" },
  { label: "废弃资源综合利用业", value: "废弃资源综合利用业" },
  {
    label: "金属制品、机械和设备修理业",
    value: "金属制品、机械和设备修理业",
  },
  { label: "电力、热力生产和供应业", value: "电力、热力生产和供应业" },
  { label: "燃气生产和供应业", value: "燃气生产和供应业" },
  { label: "水的生产和供应业", value: "水的生产和供应业" },
];
// export const  stylesV8Other = [
//   {
//     id: 'ChinaOnlineCommunity',
//     label: 'ESRI彩色',
//     url: '@/assets/styles/ChinaOnlineCommunity.json',
//   },
//   {
//     id: 'ChinaOnlineStreetPurplishBlue',
//     label: '智图蓝黑',
//     url: '@/assets/styles/ChinaOnlineStreetPurplishBlue.json',
//   },
//   {
//     id: 'ChinaOnlineStreetWarm',
//     label: 'ESRI暖色',
//     url: '@/assets/styles/ChinaOnlineStreetWarm.json',
//   },
//   {
//     id: 'GaoDeVector',
//     label: '高德矢量',
//     url: '@/assets/styles/GaoDeVector.json',
//   }
// ];
